package com.xie.smfs.effect;

import net.minecraft.entity.effect.StatusEffect;
import net.minecraft.entity.effect.StatusEffectCategory;
import net.minecraft.entity.LivingEntity;

public class ThickFogEffect extends StatusEffect {
    public ThickFogEffect() {
        super(StatusEffectCategory.HARMFUL, 0xAAAAAA); // 灰色雾效果
    }

    @Override
    public boolean canApplyUpdateEffect(int duration, int amplifier) {
        return true; // 每tick更新
    }

    @Override
    public void applyUpdateEffect(LivingEntity entity, int amplifier) {
        // 可以在这里添加效果的逻辑
    }
}